import { success } from '@/config/response';
import { Router } from 'express';

const router = Router();

router.get('/getData', async (req, res) => {
  const data = {};
  success(res, data);
});
router.post('/setData', async (req, res) => {
  const { data } = req.body;
  success(res, data);
});

export default router;
